

import CONSTANT from '@/common/constants.js'
import http from '@/common/http.js'
export default {
  name: 'guozhenDetails',
  components: {

  },
  data () {
    return {
      obj:{
        activityId:"",
        title:"",
        content:"",
        createDate:'',
        picture:""
      },
    }
  },
  mounted () {
    // alert(this.$route.query.id)
    http.post(CONSTANT.ACTIVITY_RESULT_VIEW, {id: this.$route.query.id}, (res) => {
        this.obj = res.obj
        console.log(res)
    })
  },
  methods: {
    comeback () {
      // 返回上一页
      window.history.go(-1)
    }
  }
}
